import { TypeOrmModule } from '@nestjs/typeorm';
import { Candidates } from '../../module/Candidates';
import { ElectionSettings } from '../../module/ElectionSettings';
import { Users } from '../../module/Users';
import { VerificationCodes } from '../../module/VerificationCodes';
import { Votes } from '../../module/Votes';

export const CandidateConfig = TypeOrmModule.forFeature([Candidates]);

export const ElectionSettingConfig = TypeOrmModule.forFeature([
  ElectionSettings,
]);

export const UserConfig = TypeOrmModule.forFeature([Users]);

export const VerificationCodeConfig = TypeOrmModule.forFeature([
  VerificationCodes,
]);

export const VoteConfig = TypeOrmModule.forFeature([Votes]);
